.custom {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: transparent;
  border: 1px solid hsl(var(--navigation-hs) var(--lt-300));
  border-radius: 8px;
  outline: none;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: hsl(var(--navigation-hs) var(--lt-300));
  }

  &.enabled {
    &::before {
      right: 0;
      left: auto;
    }
  }
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

.icon {
  z-index: 1;
  display: flex;
  align-items: center;
  width: 50%;
  padding: var(--gap-sm) var(--gap-2xl);
  font-size: var(--fs-md);
  color: hsl(var(--navigation-hs) var(--lt-300));
}

.icon-white {
  color: #fff;
}
